package game.strategy;

import game.Constants;

public class StrategyTIT_FOR_TAT  implements Strategy{

	public int play(int OpponentPreviousChoice, int RoundNumber) {
		
		if(RoundNumber == 0)
			return Strategy.COOPERATE;
		else{
			return OpponentPreviousChoice == Strategy.COOPERATE ? Strategy.COOPERATE : Strategy.DEFECT;
	
		}
	}


}
